package com.milotnt.vo;

import com.milotnt.pojo.CommunityCommentEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class CommunityPostVo implements Serializable {

    @Schema(description = "帖子id")
    private Long id;

    @Schema(description = "会员名称")
    private String memberName;

    @Schema(description = "关联会员账号ID")
    private Long memberId;

    @Schema(description = "帖子内容")
    private String content;

    @Schema(description = "图片地址")
    private String imageUrl;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "评论列表")
    private List<CommunityCommentEntity> comments;
}
